package com.shemy.sshiro.domain;

import java.util.Date;

/**
 *  角色实体类
 * @author Dzsom
 * @date 2019-05-09 10:56
 */

public class SysRole {
    /**
    * 角色id
    */
    private Integer roleId;

    /**
    * 角色名
    */
    private String roleName;

    /**
    * 备注
    */
    private String desc;

    /**
    * 角色类型(1: 管理员 2: 其他)
    */
    private Integer type;

    /**
    * 状态(1：启用  2：冻结  3：删除）
    */
    private Integer status;

    /**
    * 创建时间
    */
    private Date createtime;

    /**
    * 版本
    */
    private Integer version;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
}